﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/11 16:35:31
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 * Description：漫画详情中的“相关推荐”
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class JsonComicDetailRelationRecommSubjectBigBook
    {
        [DataMember(Name = "bigbook_id")]
        public int BigbookId { get; set; }

        [DataMember(Name = "bigbook_name")]
        public string BigbookName { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }
    }

    [DataContract]
    public class JsonComicDetailRelationRecommAuthorBigBook
    {

        [DataMember(Name = "bigbook_id")]
        public int BigbookId { get; set; }

        [DataMember(Name = "bigbook_name")]
        public string BigbookName { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }
    }

    [DataContract]
    public class JsonComicDetailRelationRecommTopBigBook
    {

        [DataMember(Name = "bigbook_id")]
        public int BigbookId { get; set; }

        [DataMember(Name = "bigbook_name")]
        public string BigbookName { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }
    }

    [DataContract]
    public class JsonComicDetailRelationRecommInfo
    {

        [DataMember(Name = "subjectBigBooks")]
        public ObservableCollection<JsonComicDetailRelationRecommSubjectBigBook> SubjectBigBooks { get; set; }

        [DataMember(Name = "authorBigBooks")]
        public ObservableCollection<JsonComicDetailRelationRecommAuthorBigBook> AuthorBigBooks { get; set; }

        [DataMember(Name = "topBigBooks")]
        public ObservableCollection<JsonComicDetailRelationRecommTopBigBook> TopBigBooks { get; set; }
    }

    [DataContract]
    public class JsonComicDetailRelationRecomm
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicDetailRelationRecommInfo Info { get; set; }
    }
}
